<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.7.0" />

	<title>Class Swift_Plugins_PopBeforeSmtpPlugin | nort</title>

	<script type="text/javascript" src="resources/combined.js?1481722677"></script>
	<script type="text/javascript" src="elementlist.js?1094816827"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?1567499433" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-App.html">App<span></span></a>
						<ul>
				<li><a href="package-App.Saas.html">Saas</a>
						</li>
				<li><a href="package-App.saas.html">saas</a>
						</li>
				<li><a href="package-App.SaaS.html">SaaS<span></span></a>
						<ul>
				<li><a href="package-App.saas.Logic.html">Logic</a>
						</li>
				<li><a href="package-App.SaaS.SaaS.html">SaaS</a>
						</li>
				<li><a href="package-App.Saas.Tables.html">Tables</a>
						</li>
				<li><a href="package-App.Saas.Vo.html">Vo</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-aqua.html">aqua<span></span></a>
						<ul>
				<li><a href="package-aqua.tools.html">tools<span></span></a>
						<ul>
				<li><a href="package-aqua.tools.Monitor.html">Monitor</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-flashservices.html">flashservices<span></span></a>
						<ul>
				<li><a href="package-flashservices.adapters.html">adapters</a>
						</li>
				<li><a href="package-flashservices.debug.html">debug</a>
						</li>
				<li><a href="package-flashservices.exception.html">exception</a>
						</li>
				<li><a href="package-flashservices.filters.html">filters</a>
						</li>
				<li><a href="package-flashservices.io.html">io</a>
						</li>
				<li><a href="package-flashservices.sql.html">sql</a>
						</li>
				<li><a href="package-flashservices.util.html">util</a>
						</li>
							</ul></li>
				<li><a href="package-Mekayotl.html">Mekayotl<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.core.html">core</a>
						</li>
				<li><a href="package-Mekayotl.database.html">database<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.database.dal.html">dal</a>
						</li>
				<li><a href="package-Mekayotl.database.mysql.html">mysql</a>
						</li>
				<li><a href="package-Mekayotl.database.sqlite.html">sqlite</a>
						</li>
							</ul></li>
				<li><a href="package-Mekayotl.tools.html">tools<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.tools.render.html">render<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.tools.render.html.html">html</a>
						</li>
							</ul></li>
				<li><a href="package-Mekayotl.tools.renders.html">renders</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li><a href="package-PHPMailer.html">PHPMailer</a>
						</li>
				<li><a href="package-Services.html">Services<span></span></a>
						<ul>
				<li><a href="package-Services.JSON.html">JSON</a>
						</li>
							</ul></li>
				<li class="active"><a href="package-Swift.html">Swift<span></span></a>
						<ul>
				<li><a href="package-Swift.ByteStream.html">ByteStream</a>
						</li>
				<li><a href="package-Swift.CharacterStream.html">CharacterStream</a>
						</li>
				<li><a href="package-Swift.Encoder.html">Encoder</a>
						</li>
				<li><a href="package-Swift.Events.html">Events</a>
						</li>
				<li><a href="package-Swift.KeyCache.html">KeyCache</a>
						</li>
				<li><a href="package-Swift.Mailer.html">Mailer</a>
						</li>
				<li><a href="package-Swift.Mime.html">Mime</a>
						</li>
				<li class="active"><a href="package-Swift.Plugins.html">Plugins</a>
						</li>
				<li><a href="package-Swift.Transport.html">Transport</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-Swift_Plugins_AntiFloodPlugin.html">Swift_Plugins_AntiFloodPlugin</a></li>
				<li><a href="class-Swift_Plugins_BandwidthMonitorPlugin.html">Swift_Plugins_BandwidthMonitorPlugin</a></li>
				<li><a href="class-Swift_Plugins_DecoratorPlugin.html">Swift_Plugins_DecoratorPlugin</a></li>
				<li><a href="class-Swift_Plugins_ImpersonatePlugin.html">Swift_Plugins_ImpersonatePlugin</a></li>
				<li><a href="class-Swift_Plugins_LoggerPlugin.html">Swift_Plugins_LoggerPlugin</a></li>
				<li class="active"><a href="class-Swift_Plugins_PopBeforeSmtpPlugin.html">Swift_Plugins_PopBeforeSmtpPlugin</a></li>
				<li><a href="class-Swift_Plugins_RedirectingPlugin.html">Swift_Plugins_RedirectingPlugin</a></li>
				<li><a href="class-Swift_Plugins_ReporterPlugin.html">Swift_Plugins_ReporterPlugin</a></li>
				<li><a href="class-Swift_Plugins_Reporters_HitReporter.html">Swift_Plugins_Reporters_HitReporter</a></li>
				<li><a href="class-Swift_Plugins_Reporters_HtmlReporter.html">Swift_Plugins_Reporters_HtmlReporter</a></li>
				<li><a href="class-Swift_Plugins_ThrottlerPlugin.html">Swift_Plugins_ThrottlerPlugin</a></li>
			</ul>

			<h3>Interfaces</h3>
			<ul>
				<li><a href="class-Swift_Plugins_Decorator_Replacements.html">Swift_Plugins_Decorator_Replacements</a></li>
				<li><a href="class-Swift_Plugins_Pop_Pop3Connection.html">Swift_Plugins_Pop_Pop3Connection</a></li>
				<li><a href="class-Swift_Plugins_Reporter.html">Swift_Plugins_Reporter</a></li>
				<li><a href="class-Swift_Plugins_Sleeper.html">Swift_Plugins_Sleeper</a></li>
				<li><a href="class-Swift_Plugins_Timer.html">Swift_Plugins_Timer</a></li>
			</ul>




		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-Swift.Plugins.html" title="Summary of Swift\Plugins"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Swift_Plugins_PopBeforeSmtpPlugin</h1>


	<div class="description">
	
<p>Makes sure a connection to a POP3 host has been established prior to
connecting to SMTP.</p>

	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
<b><span>Swift_Plugins_PopBeforeSmtpPlugin</span></b>			
			 implements 
				<a href="class-Swift_Events_TransportChangeListener.html"><span>Swift_Events_TransportChangeListener</span></a>, 
			
				<a href="class-Swift_Plugins_Pop_Pop3Connection.html"><span>Swift_Plugins_Pop_Pop3Connection</span></a>
			
			
		</dd>
	</dl>








	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-Swift.html">Swift</a>\<a href="package-Swift.Plugins.html">Plugins</a><br />

				<b>Author:</b>
				Chris Corbyn<br />
		<b>Located at</b> <a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#11" title="Go to source code">lib/php/externals/swift/classes/Swift/Plugins/PopBeforeSmtpPlugin.php</a><br />
	</div>


	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="__construct" id="___construct">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___construct">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#52" title="Go to source code">__construct</a>( <span>string <var>$host</var></span>, <span>integer <var>$port</var> = <span class="php-num">110</span></span>, <span>string <var>$crypto</var> = <span class="php-keyword1">NULL</span></span> )</code>

		<div class="description short">
			
<p>Create a new PopBeforeSmtpPlugin for $host and $port.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Create a new PopBeforeSmtpPlugin for $host and $port.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$host</var></dt>
					<dd><code>string</code></dd>
					<dt><var>$port</var></dt>
					<dd><code>integer</code></dd>
					<dt><var>$crypto</var></dt>
					<dd><code>string</code><br>$cypto as "tls" or "ssl"</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="newInstance" id="_newInstance">

		<td class="attributes"><code>
			 public static
			<code><a href="class-Swift_Plugins_PopBeforeSmtpPlugin.html">Swift_Plugins_PopBeforeSmtpPlugin</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_newInstance">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#67" title="Go to source code">newInstance</a>( <span>string <var>$host</var></span>, <span>integer <var>$port</var> = <span class="php-num">110</span></span>, <span>string <var>$crypto</var> = <span class="php-keyword1">NULL</span></span> )</code>

		<div class="description short">
			
<p>Create a new PopBeforeSmtpPlugin for $host and $port.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Create a new PopBeforeSmtpPlugin for $host and $port.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$host</var></dt>
					<dd><code>string</code></dd>
					<dt><var>$port</var></dt>
					<dd><code>integer</code></dd>
					<dt><var>$crypto</var></dt>
					<dd><code>string</code><br>$cypto as "tls" or "ssl"</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-Swift_Plugins_PopBeforeSmtpPlugin.html">Swift_Plugins_PopBeforeSmtpPlugin</a></code></code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="setConnection" id="_setConnection">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setConnection">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#82" title="Go to source code">setConnection</a>( <span><code><a href="class-Swift_Plugins_Pop_Pop3Connection.html">Swift_Plugins_Pop_Pop3Connection</a></code> <var>$connection</var></span> )</code>

		<div class="description short">
			
<p>Set a Pop3Connection to delegate to instead of connecting directly.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Set a Pop3Connection to delegate to instead of connecting directly.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$connection</var></dt>
					<dd><code><code><a href="class-Swift_Plugins_Pop_Pop3Connection.html">Swift_Plugins_Pop_Pop3Connection</a></code></code></dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="bindSmtp" id="_bindSmtp">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_bindSmtp">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#94" title="Go to source code">bindSmtp</a>( <span><code><a href="class-Swift_Transport.html">Swift_Transport</a></code> <var>$smtp</var></span> )</code>

		<div class="description short">
			
<p>Bind this plugin to a specific SMTP transport instance.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Bind this plugin to a specific SMTP transport instance.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$smtp</var></dt>
					<dd><code><code><a href="class-Swift_Transport.html">Swift_Transport</a></code></code></dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="setTimeout" id="_setTimeout">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setTimeout">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#105" title="Go to source code">setTimeout</a>( <span>integer <var>$timeout</var></span> )</code>

		<div class="description short">
			
<p>Set the connection timeout in seconds (default 10).</p>

		</div>

		<div class="description detailed hidden">
			
<p>Set the connection timeout in seconds (default 10).</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$timeout</var></dt>
					<dd><code>integer</code></dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="setUsername" id="_setUsername">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setUsername">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#117" title="Go to source code">setUsername</a>( <span>string <var>$username</var></span> )</code>

		<div class="description short">
			
<p>Set the username to use when connecting (if needed).</p>

		</div>

		<div class="description detailed hidden">
			
<p>Set the username to use when connecting (if needed).</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$username</var></dt>
					<dd><code>string</code></dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="setPassword" id="_setPassword">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setPassword">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#129" title="Go to source code">setPassword</a>( <span>string <var>$password</var></span> )</code>

		<div class="description short">
			
<p>Set the password to use when connecting (if needed).</p>

		</div>

		<div class="description detailed hidden">
			
<p>Set the password to use when connecting (if needed).</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$password</var></dt>
					<dd><code>string</code></dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="connect" id="_connect">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_connect">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#141" title="Go to source code">connect</a>( )</code>

		<div class="description short">
			
<p>Connect to the POP3 host and authenticate.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Connect to the POP3 host and authenticate.</p>





				<h4>Throws</h4>
				<div class="list">
					<code><code><a href="class-Swift_Plugins_Pop_Pop3Exception.html">Swift_Plugins_Pop_Pop3Exception</a></code></code><br>if connection fails<br />
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-Swift_Plugins_Pop_Pop3Connection.html#_">Swift_Plugins_Pop_Pop3Connection::connect</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="disconnect" id="_disconnect">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_disconnect">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#178" title="Go to source code">disconnect</a>( )</code>

		<div class="description short">
			
<p>Disconnect from the POP3 host.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Disconnect from the POP3 host.</p>





				<h4>Throws</h4>
				<div class="list">
					<code><code><a href="class-Swift_Plugins_Pop_Pop3Exception.html">Swift_Plugins_Pop_Pop3Exception</a></code></code><br />
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-Swift_Plugins_Pop_Pop3Connection.html#_">Swift_Plugins_Pop_Pop3Connection::disconnect</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="beforeTransportStarted" id="_beforeTransportStarted">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_beforeTransportStarted">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#199" title="Go to source code">beforeTransportStarted</a>( <span><code><a href="class-Swift_Events_TransportChangeEvent.html">Swift_Events_TransportChangeEvent</a></code> <var>$evt</var></span> )</code>

		<div class="description short">
			
<p>Invoked just before a Transport is started.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Invoked just before a Transport is started.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$evt</var></dt>
					<dd><code><code><a href="class-Swift_Events_TransportChangeEvent.html">Swift_Events_TransportChangeEvent</a></code></code></dd>
				</dl></div>





				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-Swift_Events_TransportChangeListener.html#_">Swift_Events_TransportChangeListener::beforeTransportStarted</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="transportStarted" id="_transportStarted">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_transportStarted">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#218" title="Go to source code">transportStarted</a>( <span><code><a href="class-Swift_Events_TransportChangeEvent.html">Swift_Events_TransportChangeEvent</a></code> <var>$evt</var></span> )</code>

		<div class="description short">
			
<p>Not used.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Not used.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$evt</var></dt>
					<dd><code><code><a href="class-Swift_Events_TransportChangeEvent.html">Swift_Events_TransportChangeEvent</a></code></code></dd>
				</dl></div>





				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-Swift_Events_TransportChangeListener.html#_">Swift_Events_TransportChangeListener::transportStarted</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="beforeTransportStopped" id="_beforeTransportStopped">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_beforeTransportStopped">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#226" title="Go to source code">beforeTransportStopped</a>( <span><code><a href="class-Swift_Events_TransportChangeEvent.html">Swift_Events_TransportChangeEvent</a></code> <var>$evt</var></span> )</code>

		<div class="description short">
			
<p>Not used.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Not used.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$evt</var></dt>
					<dd><code><code><a href="class-Swift_Events_TransportChangeEvent.html">Swift_Events_TransportChangeEvent</a></code></code></dd>
				</dl></div>





				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-Swift_Events_TransportChangeListener.html#_">Swift_Events_TransportChangeListener::beforeTransportStopped</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="transportStopped" id="_transportStopped">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_transportStopped">#</a>
		<code><a href="source-class-Swift_Plugins_PopBeforeSmtpPlugin.html#235" title="Go to source code">transportStopped</a>( <span><code><a href="class-Swift_Events_TransportChangeEvent.html">Swift_Events_TransportChangeEvent</a></code> <var>$evt</var></span> )</code>

		<div class="description short">
			
<p>Not used.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Not used.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$evt</var></dt>
					<dd><code><code><a href="class-Swift_Events_TransportChangeEvent.html">Swift_Events_TransportChangeEvent</a></code></code></dd>
				</dl></div>





				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-Swift_Events_TransportChangeListener.html#_">Swift_Events_TransportChangeListener::transportStopped</a></code></div>
		</div>
		</div></td>
	</tr>
	</table>










</div>

	<div id="footer">
		nort API documentation generated by <a href="http://apigen.org">ApiGen 2.7.0</a>
	</div>
</div>
</div>
</body>
</html>
